"Plugin not found" due to missing README
Reported by brister | January 30th, 2009 @ 03:57 AM
I'm puzzled why this hasn't mentioned before. Does no-one install via ./script/plugin install?
./script/plugin install doesn't work because install.rb is trying to write README to stdout, but that files been renamed to README.textile (back in August). So install.rb fails which makes commands/plugin.rb:run_install_hook() fail which makes the entire install fail with the message:
Plugin not found: ["git://github.com/technoweenie/restful-authentication.git/"]
<Errno::ENOENT: No such file or directory - /path/to/myapp/vendor/plugins/restful-authentication/README>
Comments and changes to this ticket
-
scott levy February 10th, 2009 @ 02:38 PM
I am having this problem. please advise on how to proceed...
-
Matt Kern February 25th, 2009 @ 12:17 AM
I wonder how many plugins hosted by github now don't have plain text README file. The simple solution is to add a plain text README of course, but then any changes to README.textile would need to be propagated to the plain text version.
If there's lots of plugins being hosted on github and using textile formatted READMEs now does it make sense to either a) modify the plugin script to strip textile and display a plain text version of the README or b) just have the plugin script output the textile formatted README as is?
If anyone has a preference I'm happy to submit a patch... at the moment I'm just keeping an empty README in my fork.
-
Matt Kern February 25th, 2009 @ 01:40 AM
Oh, one other option, so obvious as to be overlooked. Just remove the install.rb file since nothing really needs to be done by the plugin install hook.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Restful Authentication Generator
This widely-used plugin provides a foundation for securely managing user
authentication:
* Login / logout
* Secure password handling
* Account activation by validating email
* Account approval / disabling by admin
* Rudimentary hooks for authorization and access control.
http://github.com/technoweenie/restful-authentication/tree